<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body>

<!--<div th:include="~{fragments/left :: leftPage }"></div>-->
<!--等价于-->
<!--<div th:include="fragments/left :: leftPage"></div>-->

<h2>不指定选择器，加载整个页面</h2>
<div th:include="fragments/left"></div>
<div th:include="fragments/right"></div>
</body>
</html>